package com.yunquan.ohana.http.transformer

/**
 * $
 * @author yjp
 * @date 2020/4/1 14:52
 */
data class BaseResult<T>(
    var code: Int,
    var msg: String?,
    val errorMsg: String?,
    val path: String?,
    val success: Boolean?,
    var data: T?,
)

data class BasePage<T>(
    val records: List<T>?,
    val total: Int?,
    val size: Int?,
    val current: Int?,
    val pages: Int?,
)